#include "resolverData.h"


ResolverData::ResolverData( DnsServerConfiguration* dnsServerConfiguration,
		UDPMessageQueue* resolverQueue ): dnsServerConfiguration_(
			dnsServerConfiguration ), resolverQueue_( resolverQueue )
{
}

ResolverData::~ResolverData()
{

}

void ResolverData::verbose( const std::string &message )
{
	dnsServerConfiguration_->verbose( message );
}

uint16_t ResolverData::listenPort( ) const
{
	return dnsServerConfiguration_->listenPort();
}

std::string ResolverData::listenAddress() const
{
	return dnsServerConfiguration_->listenAddress();
}

UDPMessage ResolverData::popResolverQueue()
{
	return resolverQueue_->pop();
}
